#-*- coding: utf-8 -*-

from django import forms
from django.forms import Textarea,TextInput


class ArticleForm(forms.ModelForm):
    class Meta:
        widgets = {
            'title': TextInput(attrs = {'size': 80}),
            'abstract': Textarea(attrs = {'cols': '80', 'rows': '5'}),
            'content': Textarea(attrs = {'cols': '100', 'rows': '40'})
        }
